#ifndef __UIVPLAYERDOWNBAR__H__
#define __UIVPLAYERDOWNBAR__H__

#include	<MZFCLIB.h>
#include	"iUiButton.h"
#include	"UiStatusBar.h"

typedef enum _tagVPlayerDownBarBtnDisplay
{
	VPLAYER_DOWNBAR_PLAY = 0,
	VPLAYER_DOWNBAR_STOP,
	VPLAYER_DOWNBAR_PREV,
	VPLAYER_DOWNBAR_NEXT,
	VPLAYER_DOWNBAR_DISC_ADD,
	VPLAYER_DOWNBAR_DISC_DES,
	VPLAYER_DOWNBAR_CIRCLE,
	VPLAYER_DOWNBAR_BROWSER,
	MAX_VPLAYER_DOWNBAR_BTN,
} VPLAYER_DOWNBAR_BTN;

class UiVPlayerDownBar :
	public UiWin
{
public:
	UiVPlayerDownBar();
	~UiVPlayerDownBar();

	BOOL InitUiWin(void);
	void PaintWin(HDC hdc, RECT* prcWin, RECT* prcUpdate);

	virtual int OnLButtonDown(UINT fwKeys, int xPos, int yPos);
	virtual int OnLButtonUp(UINT fwKeys, int xPos, int yPos);
	virtual void DeleteImages();

	void LoadiInterItem();
	BOOL InitImages();
public:

	iUiButton m_BtnDownBar[MAX_VPLAYER_DOWNBAR_BTN];

	ImagingHelper	*m_VideoMainBG;
	HDC				m_hBakDC;
	HBITMAP			m_hBitmapBakDC;
};

#endif